package com.echo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 前端页面表
 * </p>
 *
 * @author echo
 * @since 2024-10-31
 */
@TableName("permission_page")
public class PermissionPage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 前端页面表主键id
     */
    @TableId(value = "page_id", type = IdType.AUTO)
    private Integer pageId;

    /**
     * 页面的名称,要唯一
     */
    private String pageName;

    /**
     * 页面的功能性描述
     */
    private String pageDescription;

    /**
     * 页面对应的操作权限列表，用-连接action的id
     */
    private String actionIds;

    public Integer getPageId() {
        return pageId;
    }

    public void setPageId(Integer pageId) {
        this.pageId = pageId;
    }
    public String getPageName() {
        return pageName;
    }

    public void setPageName(String pageName) {
        this.pageName = pageName;
    }
    public String getPageDescription() {
        return pageDescription;
    }

    public void setPageDescription(String pageDescription) {
        this.pageDescription = pageDescription;
    }
    public String getActionIds() {
        return actionIds;
    }

    public void setActionIds(String actionIds) {
        this.actionIds = actionIds;
    }

    @Override
    public String toString() {
        return "PermissionPage{" +
            "pageId=" + pageId +
            ", pageName=" + pageName +
            ", pageDescription=" + pageDescription +
            ", actionIds=" + actionIds +
        "}";
    }
}
